package cn.afactory.tygz.ui.base.views.search;

/**
 * Created by Kenneth on 15/9/9.
 */
public class SearchTypeEntity extends SearchTypePopWindow.DataEntity {
    public SearchType searchType;

    public SearchTypeEntity(SearchType type) {
        searchType = type;
        categoryId = type.getId();
        displayText = type.getName();
    }

    public SearchTypeEntity(SearchType type, String displayName) {
        searchType = type;
        categoryId = type.getId();
        displayText = displayName;
    }
}
